package com.jcp.test;

import com.jcp.dao.UserDao;
import com.jcp.dao.UsersLoginDao;
import com.jcp.daoimp.UserDaoImp;
import com.jcp.daoimp.UsersLoginDaoImp;
import com.jcp.entity.UsersLogin;
import com.jcp.service.UsersLoginService;
import com.jcp.serviceimp.UsersLoginServiceImp;
/**
 * 
 * @author Administrator
 *
 */
public class Logintest {

	public static void main(String[] args) {
		 UsersLoginDao aa=new UsersLoginDaoImp();
	      UsersLogin uLogin=aa.selectByCountAndPwd("admin", "e10adc3949ba59abbe56e057f20f883e");
	      System.out.println(uLogin);
	      UsersLoginService us=new UsersLoginServiceImp();
	      UsersLogin uLogin1=us.selectByCountAndPwd("admin", "e10adc3949ba59abbe56e057f20f883e");
	      System.out.println(uLogin1);
	}

}
